package com.zhijiang.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName(value = "SYS_ROLE_MENU")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenu implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "CODE", type = IdType.ASSIGN_ID)
    private String code;

    /**
     * 菜单id
     */
    private String roleid;

    /**
     * 角色id
     */
    private String menuid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
